<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>

    <%@include file="/include.jsp" %>
    <script type="text/javascript" src="<%=basePath %>js/My97DatePicker/WdatePicker.js"></script>
    <style>
        body{font-family:"微软雅黑";padding-top:10px;margin:0px;}
    </style>
    <script>



    </script>
</head>
<body>
<div>
    <!--tab-->
    <ul class="nav nav-pills nav-justified" style="border-bottom:solid 3px rgb(66, 139, 202);">
        <li  class="active" role="presentation" style="width:120px;">
            <a href="javascript:void(0)" id="tabTitle" >采购计划详情</a>
        </li>
    </ul>
    <input type="hidden" value="<%=basePath %>" id="path">
    <!--datagrid-->
    <div class="table-responsive" style="overflow-y:hidden">
        <table class="table table-striped" >
            <tbody>
            <tr>
                <td>报价截止时间：<label>${entity.jhtimeEnd}</label></td>
            </tr>

            <tr>
                <td>申请单位：<label>${entity.createuserdeptid}</label></td>
                <td>单据编号：<label>${entity.billnumber}</label></td>
                <td>申请人:<label>${entity.createuser}</label></td>
            </tr>

            <tr>
                <td>签发人:<label>${entity.createuser}</label></td>
                <td>申请日期：<label>${entity.writedate}</label></td>
                <td>交货时间：<label>${entity.jhtime}</label>
                    至<label>${entity.jhtime2}</label></td>
            </tr>

            <tr>
                <td>煤种：<label>${entity.coaltype}</label></td>
                <td>采购数量：<label>${entity.qty}</label>(万吨)</td>
                <td>运输方式：<label>${entity.yunshuMode}</label></td>
            </tr>

            <tr>
                <td>交货地点：<label>${entity.jiaohuoMode}</label></td>
                <td>结算方式：<label>${entity.jiesuanMode}</label></td>
                <td>验收方式：<label>${entity.yanshouMode}</label></td>
            </tr>

            <tr>
                <td>最高限价：<label>${entity.maxlimitprice}</label>(元/卡.吨)</td>
                <td>最低限价：<label>暂无</label>(元/卡.吨)</td>
                <td></td>
            </tr>

            <tr>
                <td>限价说明：<label>${entity.maxremark}</label></td>
            </tr>

            <tr>
                <td>结算付款方式：<label>${entity.paymode}</label></td>
            </tr>

            <tr>
                <td>报价保证金缴纳：<input type="radio"  name="baozhengjin">不要求<input type="radio"  name="baozhengjin">要求  元/吨</td>
                <td>覆约保证金缴纳：<input type="radio"  name="baozhengjin1">不要求<input type="radio"  name="baozhengjin1">要求  元/吨</td>
            </tr>
            </tbody>
        </table>
    </div>

</div>

<div>
    <!--tab-->
    <ul class="nav nav-pills nav-justified" style="border-bottom:solid 3px rgb(66, 139, 202);">
        <li  class="active" role="presentation" style="width:120px;">
            <a href="javascript:void(0)" id="tabTitle" >煤质要求</a>
        </li>
    </ul>
    <input type="hidden" value="<%=basePath %>" id="path">
    <!--datagrid-->
    <div class="table-responsive" style="overflow-y:hidden">
        <table class="table table-striped" >
            <tbody>
            <tr>
                <h5>收到基准</h5>
            </tr>

            <tr>
                <td>收到基低位发热量Qnet,ar≥：<label>${entity.type1}</label>(KCal/kg)</td>
                <td>收到基全硫St,ar≤：<label>${entity.type4}</label>(%)</td>
                <td>全水分M≤：<label>${entity.type2}</label>(%)</td>
            </tr>

            <tr>
                <td>收到基灰分Aar≤：<label>${entity.type6}</label>(%)</td>
                <td>收到基挥发分：<label>${entity.type3}</label>(%)至<label>${entity.type32}</label>(%)</td>
            </tr>
            <tr>
                <h5>空气干燥基基准</h5>
            </tr>

            <tr>
                <td>空干基水分Mad≤：<label>${entity.kgj1}</label>(%)</td>
                <td>空干基全硫St，ad≤：<label>${entity.kgj2}</label>(%)</td>
                <td>空干基挥发分Vad：<label>${entity.kgj3}</label>(%)至<label>${entity.kgj4}</label>(%)</td>
            </tr>

            <tr>
                <td>
                    <h5>干基基准</h5>
                </td>
            </tr>

            <tr>
                <td>干基高位发热量Qgr,d≥：<label>${entity.type11}</label>(KCal/kg)</td>
                <td>干基全硫St,d≤：<label>${entity.type14}</label>(%)</td>
                <td>干燥无灰基挥发分：<label>暂无</label>(%)至<label>暂无</label>(%)</td>
            </tr>

            <tr>
                <td>粒度(mm)≤：<label>${entity.type8}</label></td>
                <td>灰熔点ST('C)≥：<label>${entity.type5}</label></td>
                <td>哈式可磨系数(HGI)≥：<label>${entity.type7}</label></td>
            </tr>

            <tr>
                <td>备注：</td>
                <td><label>${entity.remark}</label></td>
            </tr>
            </tbody>
        </table>
    </div>

</div>
<c:if test="${entity.applystate=='审批中'}">
    <form method="post" action="<%=basePath%>gaibian?n=1&id=${entity.purchapplyid}" enctype="multipart/form-data">
        <input type="submit" value="审批" >
    </form>

    <form method="post" action="<%=basePath%>gaibian?n=2&id=${entity.purchapplyid}" enctype="multipart/form-data">
        <input type="submit" value="驳回" >
    </form>
</c:if>
<c:if test="${entity.applystate=='草稿'}">
    <form method="post" action="<%=basePath%>insertTFultbpurchasingapply?id=1&id=${entity.purchapplyid}" enctype="multipart/form-data">
        <input type="submit" value="保存" >
    </form>
</c:if>

</body>



</html>
